﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user_emp.aspx.cs" Inherits="lcmyjobs.Web.users.user_emp" %>

<%@ Register Src="../Controls/TopUserJobsNavigation.ascx" TagName="TopUserJobsNavigation"
    TagPrefix="uc1" %>
<%@ Register Src="../Controls/UserManageLeft.ascx" TagName="UserManageLeft" TagPrefix="uc2" %>
<%@ Register Src="../Controls/Bottom1.ascx" TagName="Bottom1" TagPrefix="uc3" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>个人管理中心-我的简历</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/mybasic.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        var mycolor;
        $(function () {

            $(".grgl_ul li a").eq(2).addClass("activ_n");
            $("#GridView1 tr").mouseover(function () { mycolor = $(this).css("backgroundColor"); $(this).css("backgroundColor", "#fff"); }).mouseout(function () { $(this).css("backgroundColor", mycolor); });
        });
    </script>
    
</head>
<body>
    <form id="form1" runat="server">
    <div id="lo_wrap">
        <uc1:TopUserJobsNavigation ID="TopUserJobsNavigation1" runat="server" />
        <div class="zgzt_img">
            <img src="../qimg/zgzt_img.jpg" alt="找工作？就来我就业网！" width="950" height="70" />
        </div>
        <div class="syd_dhk">
            欢迎您：<asp:Label ID="lblName" runat="server"></asp:Label>，来到您的个人管理中心
        </div>
        <div class="ny_center" style="margin-top: 5px;">
            <uc2:UserManageLeft ID="UserManageLeft1" runat="server" />
            <div class="grgl_right">
                <div class="grgl_jbzl">
                    <p class="jbzl_zhuc_ls">
                        <a href="user_collect.html">职位收藏夹</a> | <a href="user_emp.html"><span>应聘职位记录</span></a>
                        | <a href="user_interview.html">面试通知</a> | <a href="user_browse.html">单位浏览记录</a>
                        <!-- | <a href="PostEmail.html">外发简历</a></p> -->
                    <div class="xinxi_zc">
                        <div class="jbxx_lr_ls">
                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                                PageSize="15" AlwaysShowFirstLastPageNumber="True" CustomInfoTextAlign="Left"
                                FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" NumericButtonCount="10"
                                PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="cpb" CustomInfoHTML="您应聘职位 %RecordCount%个 第 %CurrentPageIndex% 页 共 %PageCount%页 "
                                LayoutType="Table" ShowCustomInfoSection="Left" ShowNavigationToolTip="True"
                                ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextAfterPageIndexBox="&nbsp;页"
                                TextBeforePageIndexBox="跳转至&nbsp;" ShowPageIndex="False" AlwaysShow="True" CustomInfoClass="paginatorc"  CustomInfoSectionWidth="420px">
                            </webdiyer:AspNetPager>

                        </div>
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="eid"
                            EnableModelValidation="True" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting"
                            CssClass="jbzl_tab_zw" Width="100%" GridLines="None">
                            <Columns>
                                <asp:TemplateField HeaderText="招聘职位" ItemStyle-CssClass="tdleftmargin">
                                    <HeaderTemplate>
                                        <input id="Checkbox1" type="checkbox" onclick="checkall(this)" />
                                        招聘职位
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chku" runat="server" />
                                        <asp:HyperLink ID="hy_zw" runat="server" Target="_blank" NavigateUrl='<%# "../findjobs/jobsInfo-"+Eval("enterprise_rid")+".html" %>'
                                            Text='<%# Eval("job_name") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                   
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="招聘单位">
                                    <ItemTemplate>
                                        <asp:Label ID="Label2" runat="server" Text='<%# Bind("name") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="areas" HeaderText="工作地区" />
                                
                                <asp:TemplateField HeaderText="有效期（天）"  HeaderStyle-Width="80px">
                                
                                    <ItemTemplate>
                                        <asp:Label ID="label_valid" runat="server" 
                                            Text='<%# lcmyjobs.BLL.Tools.GetValidity(Eval("validay").ToString())+"天" %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="etime" HeaderText="申请时间" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" HeaderStyle-Width="70px" />
                                <asp:TemplateField ShowHeader="False" HeaderText="操作"  HeaderStyle-Width="35px">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandName="Delete"
                                             OnClientClick= "return confirm('确认要删除吗？')" Text="删除" ForeColor="#ff6600"></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            
                        </asp:GridView>
                        <div style="text-align: right; padding: 10px 20px 0 20px;">
                        </div>
                        <div class="xiayibu">
                             <asp:Button ID="btnDel" runat="server" CssClass="bgbtn"  onclick="btnDelete_Click" 
                                    OnClientClick="if(havecheck()) return confirm('确认要删除吗？')"  Text="删 除" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <uc3:Bottom1 ID="Bottom11" runat="server" />
    </div>
    </form>
</body>
</html>
